<?php

	function split_price($price){
		$des = substr($price,0,(count($price)-3));
		$dec = substr($price,-2);
		if($des ==""){
			$money = "0.".$dec;
		} else {
			$money = $des.".".$dec;
		}
		
		return number_format($money,2,".","");
	
	}
	
	
?>